home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: lll-winken.llnl.gov!parc!rocksanne!news
- From: Kevin Ehmka <kehmk@roch875.mc.xerox.com>
- Subject: Re: BC++5.0 Great!
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <316042E9.4950@roch875.mc.xerox.com>
- Sender: news@news.wrc.xerox.com
- Content-Transfer-Encoding: 7bit
- Cc: "William E. Sadler" <William.Sadler@mailport.delta-air.com>
- Organization: Xerox-MTC
- References: <315BEEBB.1261@mailport.delta-air.com>
- Mime-Version: 1.0
- Date: Mon, 1 Apr 1996 20:56:09 GMT
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- William E. Sadler wrote:
- >
- > Try this one folks:
- >
- > do the standard hello world:
- >
- > main()
- > {
- > cout << "Hello, World" << endl;
- > }
- >
- > This will compile. Now, include the STL routine for a string, and cout the
- > string that contains hello world. No dice.
- >
- > Sad, isn't it. I sold a 1000 shares of borland yesterday. Happy! I
- > doubled my money. But when word abou this buggy compiler gets out in the
- > mainstream 'puter press, I betcha they're gonna tumble.
- >
-
- The output is being buffered. Simply put an endl after the string or call
- cout.flush();
-
- > I've loved borland, but they've finally driven me to MSVC. Sigh...
- >
-
- Is that really so?
-
-
- much regards,
-
- Kevin
-
-
- --
- "The moment more we think we know, the dummer we get."
-